package B.w.OOday01;
/**构造方法的演示*/
public class ConsDemo {
    public static void main(String[] args) {
      Student q=new Student();
      Student w=new Student("二",2);
      Student e=new Student("三",3,"jsd03","03");
      q.sayHi();
      w.study();
      e.sleep();









       /* Student zs = new Student(); //调用无参构造方法
        Student ls = new Student("李四",25); //调用2个参构造
        Student ww = new Student("王五",26,"jsd2302","003"); //调用4个参构造
        zs.sayHi();
        ls.sayHi();
        ww.sayHi();*/
    }
}
